﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/**
 * <Jason>
 * <Date: 20131210>
 */
namespace VietThuongLMS.ViewModels
{
    public class GhiChuViewModel
    {
        public List<GhiChu> List { get; set; }
        public int Total { get; set; }
        //public int MaNhanVien { get; set; }

        public List<GhiChuMoRongModel> ListMoRong { get; set; }
        public int TotalMoRong { get; set; }

        //public float TongTienCong { get; set; }

        public GhiChuViewModel()
        {
            this.List = new List<GhiChu>();
            this.ListMoRong = new List<GhiChuMoRongModel>();
            this.Total = 0;
            //this.MaNhanVien = 0;
            this.TotalMoRong = 0;
        }

        public GhiChuViewModel(List<GhiChu> list, int total)
        {
            this.List = list;
            this.Total = total;
            //this.MaNhanVien = maNhanVien;
            this.ListMoRong = ListMoRong;
            this.TotalMoRong = TotalMoRong;
        }
        
    }

    public class GhiChuMoRongModel
    {

        public GhiChu gc { get; set; }

        //public string TieuDe { get; set; }

        //public string NoiDung { get; set; }

        //public string NgayLap { get; set; }

        public GhiChuMoRongModel()
        {
            // TODO: Complete member initialization
            gc = new GhiChu();
        }
    }
}